
using System;
using Abp.Application.Services.Dto;
using System.ComponentModel.DataAnnotations;

namespace Precise.Products.Dtos
{
    public class CreateOrEditProductDto : EntityDto<long?>
    {

		[Required]
		[StringLength(ProductConsts.MaxNameLength, MinimumLength = ProductConsts.MinNameLength)]
		public string Name { get; set; }
		
		
		[Required]
		[StringLength(ProductConsts.MaxNumberLength, MinimumLength = ProductConsts.MinNumberLength)]
		public string Number { get; set; }
		
		
		public string Descritpion { get; set; }
		
		

    }
}